<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>typeof</title>
</head>
<body>
    <script>
        var num = 0;
        console.log(typeof num);
        var name = "WDNMD";
        console.log(typeof name);
        var b = true;
        console.log(typeof b);
        var n = null;
        console.log(typeof n);

        var age = prompt("请输入你的名字");
        console.log(typeof age);
    </script>
</body>
</html>